package com.smart.campus.school.service;

import java.util.List;
import com.smart.campus.school.domain.AwardsAndPunishmentRecord;

/**
 * 教职工奖惩记录Service接口
 * 
 * @author Zhihe.Li
 * @date 2020-06-01
 */
public interface IAwardsAndPunishmentRecordService 
{
    /**
     * 查询教职工奖惩记录
     * 
     * @param id 教职工奖惩记录ID
     * @return 教职工奖惩记录
     */
    public AwardsAndPunishmentRecord selectAwardsAndPunishmentRecordById(Long id);

    /**
     * 查询教职工奖惩记录列表
     * 
     * @param awardsAndPunishmentRecord 教职工奖惩记录
     * @return 教职工奖惩记录集合
     */
    public List<AwardsAndPunishmentRecord> selectAwardsAndPunishmentRecordList(AwardsAndPunishmentRecord awardsAndPunishmentRecord);

    /**
     * 新增教职工奖惩记录
     * 
     * @param awardsAndPunishmentRecord 教职工奖惩记录
     * @return 结果
     */
    public int insertAwardsAndPunishmentRecord(AwardsAndPunishmentRecord awardsAndPunishmentRecord);

    /**
     * 修改教职工奖惩记录
     * 
     * @param awardsAndPunishmentRecord 教职工奖惩记录
     * @return 结果
     */
    public int updateAwardsAndPunishmentRecord(AwardsAndPunishmentRecord awardsAndPunishmentRecord);

    /**
     * 批量删除教职工奖惩记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAwardsAndPunishmentRecordByIds(String ids);

    /**
     * 删除教职工奖惩记录信息
     * 
     * @param id 教职工奖惩记录ID
     * @return 结果
     */
    public int deleteAwardsAndPunishmentRecordById(Long id);
}
